<!--/*--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>XCenter Administrator's Control Panel</title>
    <link id="mastercss" rel="stylesheet" href="images/style.css" type="text/css" media="screen"/>
    <script src="include/js/common.js" type="text/javascript"></script>
</head><body><!--*/-->
<!--{&header}-->
<!--{!#system,common}-->
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
        <td><h1>{!permissions}</h1></td>
        <td class="actions">
            <table summary="" cellpadding="0" cellspacing="0" border="0" align="right">
                <tr>
                    <td class="active"><a href="#{system/resource}#">{!resource_title}</a></td>
                    <td><a href="#{system/role}#">{!role_title}</a></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<form method="post" action="#{/system/resource/detailsupdate}#" enctype="multipart/form-data">
    <table cellspacing='2' cellpadding='2' class='helptable'>
        <tr>
            <td>
                {!help_resource}
            </td>
        </tr>
    </table>
    <table cellspacing="0" cellpadding="0" width="100%" class="maintable">
        <tr>
            <th>{!resource_pattern}</th>
            <td>${pattern}<input type="hidden" name="pattern" value="${pattern}"/></td>
        </tr>
        <tr>
            <th>{!resource_decide}</th>
            <td>
                <!--{@
                    $decides=array('affirmative'=>'{!resource_affirmative}','unanimous'=>'{!resource_unanimous}','consensus'=>'{!resource_consensus}');
                    echo $decides[$decide];
                @}-->
                <input type="hidden" name="decide" value="${decide}"/>
        </tr>
        <tr>
            <th>{!resource_role}</th>
            <td>
                <!--{loop $roles $k $v}-->
                    <input type="checkbox" name="roles[]" value="${v[0]}" xtc="(intval($auth) & $v[0])>0">${v[1]}&nbsp;
                <!--{/loop}-->
            </td>
        </tr>
    </table>

    <div class="buttons">
        <input type="submit" name="delcensorsubmit" value="{!common_submit}" class="submit">
        <input type="button" value="{!common_back}" onClick="location.href='#{/system/resource}#'">
    </div>

</form>
<!--{&footer}-->
<!--/*-->
</body>
</html><!--*/-->